using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.Skins;
using DevExpress.LookAndFeel;
using DevExpress.UserSkins;
using DevExpress.XtraEditors;
using LibraryManagement.Sach;
using LibraryManagement.ThongKeSach;
namespace WindowsApplication1
{
    public partial class MainForm : XtraForm
    {
        public MainForm()
        {
            InitializeComponent();
        }

        private void navBI_Sach_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            uscSach uscSach = new uscSach();
            pnlUserCtrl.Controls.Clear();
            pnlUserCtrl.Controls.Add(uscSach);
            uscSach.Dock = DockStyle.Fill;
        }

        private void navBI_TK_Sach_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
       
            ThongKeSach tks = new ThongKeSach();
            pnlUserCtrl.Controls.Clear();
            pnlUserCtrl.Controls.Add(tks);
            tks.Dock = DockStyle.Fill;
        }
    }
}